package com.gxa.mapper.parking;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gxa.dto.parking.PRegionDto;
import com.gxa.dto.parking.PRegionSearchDto;
import com.gxa.entity.parking.PRegion;
import com.gxa.entity.parking.Parking;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yjl
 * @since 2022-10-11 10:05:39
 */
@Mapper
public interface PRegionMapper extends BaseMapper<PRegion> {
    //查询区域
    List<PRegionDto> queryALl(@Param("regionNum")String regionNum,@Param("regionName")String regionName,@Param("parkingName")String parkingName);

    //查询所有停车场
    List<Parking> queryAllParking();
}
